import request from '../axios';
export function GetUsers(data) {
    return request({
      url: '/user/getusers',
      method: 'get',
      params:data
    });
  }

  export function GetUserData(data) {
    return request({
      url: '/user/getuserdata',
      method: 'get',
      params:data
    });
  }

  export function UpdateUser(data) {
    return request({
      url: '/user/updateuser',
      method: 'post',
      data:data
    });
  }

  export function AddUser(data) {
    return request({
      url: '/user/adduser',
      method: 'post',
      data:data
    });
  }